<?php

class Model_Product extends PhalApi_Model_NotORM {

    public function getDefProducts() {
        return $this->getORM()
            ->select('*')
            ->where('products_index = ?', '1')
            ->fetchAll();
    }

    public function getWithCache() {

    }

    protected function getTableName($id) {
        return 'products';
    }
}
